<template>
  <div id="app">
    <keep-alive :max="10">
      <router-view v-if="$route.meta.keepAlive"/>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"/>
  </div>
</template>

<style lang="stylus">
  #app
    background : #f7f7f7
    height : 100%
</style>
